<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../node_modules/bootstrap/dist/css/bootstrap.min.css">
</head>

<body>
    <div class="container">
        <div class="page-header">
            <h1>留言板<small>天亮留言板</small></h1>
        </div>
        <a class="btn btn-primary" href="/add" role="button">新增</a>
        <ul class="list-group">
            {{each list}}
            <li class="list-group-item">{{$value.content}}
                <span class="badge">{{$value.name}}</span>
            </li>
            {{/each}}
        </ul>

    </div>
</body>

</html>